package sg.edu.nus.iss.billing.model.account;

import java.util.ArrayList;
import java.util.List;

import sg.edu.nus.iss.billing.model.account.Account.CustomerStatus;
import sg.edu.nus.iss.billing.model.complaint.Complaint;
import sg.edu.nus.iss.billing.model.complaint.Complaint.ComplaintStatus;
import sg.edu.nus.iss.billing.model.subscription.MockedSubscriptions;
import sg.edu.nus.iss.billing.model.subscription.Subscription;

/**
 * @author Yeo Hee Ling, Ananda, EngKhoon
 *
 */
public class MockedAccount {

	public static Account Account001_thurein() {
		Account account001 = new Account("BSED-20110326-703", "S8765014V", "Thurein", "BLK 309 Clementi Ave 6 #15-135", "604309", "98412654", null, CustomerStatus.ACTIVE);
		account001.setAccountBalance(100.0);
		Subscription  plan = MockedSubscriptions.CableSubscription();
		plan.setDateCommenced("10-Oct-2010");
		account001.subscribe(plan);
		List<Complaint> complaints = new ArrayList<Complaint>();
		complaints.add(new Complaint("Complaint1", "BSED-20110326-703", "Complaint 1", ComplaintStatus.PENDING.toString(), "Agent 1", "Remarks for Complaint 1", "10-Oct-2010", null));
		account001.setComplaints(complaints);
		return account001;
	}

	public static Account Account002_heeling() {
		List<String> interests = new ArrayList<String>();
		interests.add("Sports");
		interests.add("Gaming");
		
		Account account002 = new Account("BSED-20110326-704", "S8805216F", "HeeLing", "BLK 510 Orchard Road Unit 1", "014510", "90640640", interests, CustomerStatus.ACTIVE);
		account002.setAccountBalance(100.0);
		Subscription  plan = MockedSubscriptions.MobileSubscription();
		plan.setDateCommenced("10-Oct-2010");
		account002.subscribe(plan);
		List<Complaint> complaints = new ArrayList<Complaint>();
		complaints.add(new Complaint("Complaint2", "BSED-20110326-704", "Complaint 2", ComplaintStatus.CLOSED.toString(), "Agent 1", "Remarks for Complaint 2", "10-Oct-2010", "11-Dec-2010"));
		account002.setComplaints(complaints);
		return account002;
	}
	public static Account Account003_Zifong() {
		Account account003 = new Account("BSED-20110326-705", "S8550604H", "ZiFong", "BLK 630 Ang Mo Kio St 62 #80-606", "600630", "80564403", null, CustomerStatus.INACTIVE);
		account003.setAccountBalance(100.0);
		Subscription  plan = MockedSubscriptions.MobileSubscription();
		plan.setDateCommenced("10-Oct-2010");
		account003.subscribe(plan);
		return account003;
	}
	

}
